package com.r_z.service;

import org.springframework.stereotype.Service;
import com.r_z.entity.FiscalExpenditure;

import java.util.List;

/**
 * 财务支出
 * @author :yimeng
 * @date :2023/5/30  8:52
 * @description:some description
 */
@Service
public interface FiscalExpenditureService {
    /**
     * 根据主键ID查询财务信息
     * @param fExpenditureId
     * @return
     */
    List<FiscalExpenditure> selectAllFiscalExpenditure(String fExpenditureId);

    /**
     * 根据条件分页查询
     * @param page 当前页
     * @param limit 每页显示数
     * @param fiscalExpenditure
     * @return
     */
    List<FiscalExpenditure> LimitFiscalExpenditure(int page, int limit, FiscalExpenditure fiscalExpenditure);

    /**
     * 根据条件查询总行数
     * @param fiscalExpenditure
     * @return
     */
    int countFiscalExpenditure(FiscalExpenditure fiscalExpenditure);

    /**
     * 添加财务支出信息
     * @param fiscalExpenditure
     * @return
     */
    int insertFiscalExpenditure(FiscalExpenditure fiscalExpenditure);

    /**
     * 根据主键ID进行删除财务支出信息
     * @param fExpenditureId
     * @return
     */
    int deleteFiscalExpenditure(String fExpenditureId);

    /**
     * 批量删除
     * @param fExpenditureId
     * @return
     */
    int deleteFiscalExpenditureById(String fExpenditureId);

    /**
     * 根据主键ID进行修改财务支出信息
     * @param fiscalExpenditure
     * @return
     */
    int updateFiscalExpenditure(FiscalExpenditure fiscalExpenditure);
}
